package cn.cimoc.service;

import org.springframework.transaction.annotation.Transactional;

/**
 * @author LGZ
 * @date 2022/7/16 15:58
 * <p>
 */
public interface OrderService {

    /**
     * 创建订单
     * @param aid aid
     * @param cids cid数组
     * @param uid uid
     * @param username username
     */
    @Transactional(rollbackFor = Exception.class)
    void create(Long aid, Long[] cids, long uid, String username);
}
